package com.xbongbong.pro.statistic.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author zcp
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class DataSetRenameDTO extends BaseDTO {
    private static final long serialVersionUID = -5435277083491362169L;
    /**
     * 数据集id
     */
    @NotNull(message = "{dto.msg.common.id.NotNull}")
    private Long id;
    /**
     * 名称
     */
    @NotBlank(message = "{dto.msg.common.name.NotBlank}")
    @Size(max=20,   message ="{dto.msg.dataSetSave.name.Length}" )
    private String name;
    /**
     * 描述
     */
    private String memo;
}
